/**
 * 配置管理中的API
 */
import request from "@/axios";

let prev;

/**
 * 获取菜单列表
 */
export const getMenuListApi = () => {
	return request({
		url: "/api/menu/getMenuList",
		method: "post",
		isMock: false
	});
};
/**
 * 新增菜单列表
 */
export const addMenu = (data) => {
	return request({
		url: "/api/menu/addMenu",
		method: "post",
		data,
		isMock: false
	});
};
